package com.ruoyi.web.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 用户任务执行记录对象 user_job_record
 *
 * @author ruoyi
 * @date 2023-01-04
 */
@Data
public class UserJobRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    /**
     * 任务等级
     */
    @Excel(name = "任务等级")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long jobLevel;

    /**
     * 奖励
     */
    @Excel(name = "奖励")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal reward;
}
